/*
 * @Description:
 * @Author: zhaolei
 * @Date: 2023-04-18 19:51:34
 */

import request from '@/router/axios';

// 获取举报列表
export function fetchList(params) {
  return request({
    url: '/core/report/page',
    method: 'get',
    params,
  });
}

// 通过id查询举报详情
export function getObj(id) {
  return request({
    url: `/core/report/${id}`,
    method: 'get',
  });
}

// 审核举报内容
export function auditReportContent(status, id) {
  return request({
    url: `/core/report/check/${status}/${id}`,
    method: 'put',
  });
}
